﻿@inherits System.Web.Mvc.WebViewPage
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link type="text/css" rel="stylesheet" href="/dist/css/bootstrap.min.css" />
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="/dist/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="/App_Themes/User.css" />
<script src="/JS/jquery.min.js"></script>
<script src="/JS/ICMS/ZL_Common.js?v=@(ZoomLa.BLL.BLLCommon.Version_JS)"></script>
<script src="/JS/Modal/APIResult.js"></script>
<script src="/JS/jquery.validate.min.js"></script>
<script src="/JS/ZL_Regex.js?v=@(ZoomLa.BLL.BLLCommon.Version_JS)"></script>
<script src="/dist/js/bootstrap.min.js"></script> 
<script src="/JS/mvcpage.js?v=@(ZoomLa.BLL.BLLCommon.Version_JS)"></script>
<link rel="stylesheet" href="/Template/MeiHe/style/global.css" />
@RenderSection("head",false)</head>
<body>
    @RenderPage("~/Areas/User/Views/Shared/ASCX/DefaultTop.cshtml")
    
    <div class="u_main_content">@RenderSection("content", false)</div>
    <div class="u_footer text-center fixed_bottom">
        <div class="footer_border hidden-xs"></div>
        <div class="container">@MvcHtmlString.Create(ZoomLa.Components.SiteConfig.SiteInfo.Copyright)</div>
    </div>
    <div>@RenderSection("script", false)</div>
</body>
</html>
<script>
    $(function (e) {
        //var filter = "input[type=text][id]:not(#key):visible:first";
        //if ($(filter).length > 0) {
        //    $(filter).focus();
        //}
        var curban = $("#pageflag").attr("data-ban");
        var curnav = $("#pageflag").attr("data-nav");
        $("#bs-example-navbar-collapse-1 li").removeClass("active");
        $("#u_" + curban).addClass("active");
        $("#nav_" + curnav).addClass("active");
        if (curnav == "edu") {
            $(".u_left_menu").show();
        }
        $(".user_leftd li a.u_left_head").click(function (e) {
            if ($(this).parent().find(".user_l_ulin").css("display") == "none")
                $(this).parent().find(".user_l_ulin").slideDown();
            else
                $(this).parent().find(".user_l_ulin").slideUp();
            window.localStorage.User_Default_left = $(this).parent().attr("id");
        })
    });
    $("#mimenu_btn").click(function (e) {
        if ($(".user_mimenu_left").width() > 0) {
            $(".user_mimenu_left ul").fadeOut(100);
            $(".user_mimenu_left").animate({ width: 0 }, 200);
        }
        else {
            $(".user_mimenu_left").animate({ width: 150 }, 300);
            $(".user_mimenu_left ul").fadeIn();
        }
    });
    //会员搜索
    $("#sub_btn").click(function (e) {
        if ($("#key").val() == "")
            alert("搜索关键字为空!");
        else
            window.location = "/User/Common/SearchResult?key=" + escape($("#key").val());
    });
    //搜索回车事件
    function IsEnter(obj) {
        if (event.keyCode == 13) {
            $("#sub_btn").click(); return false;
        }
    }
    $(".u_left_control").click(function (e) {
        if ($(".u_left_menu").width() > 0) {
            $(".u_left_menu").animate({ width: 0 }, 200);
        }
        else {
            $(".u_left_menu").animate({ width: 200 }, 300);
        }
    })
</script>